//
//  UITableViewCell+MLKit.h
//
//  Created by molon on 15/6/18.
//  Copyright (c) 2015年 molon. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UITableViewCell (MLKit)

+ (UINib *)nib;
+ (instancetype)instanceFromNib;

+ (NSString *)cellReuseIdentifier;

+ (CGFloat)heightForObject:(id)object maxWidth:(CGFloat)maxWidth;


//临时取消参与重用,必须和cellReuseIdentifier一起使用
- (void)temporaryCancelReuse:(BOOL)cancelReuse;


//方便对AL计算高度使用
- (CGFloat)autolayoutFitHeightWithMaxWidth:(CGFloat)maxWidth doAfterReuseBlock:(void(^)())doAfterReuseBlock;

@end
